VERSION 5.00
Object = "{F0D2F211-CCB0-11D0-A316-00AA00688B10}#1.0#0"; "MSDATLST.OCX"
Begin VB.Form frmExcedentes 
   BackColor       =   &H8000000E&
   BorderStyle     =   5  'Sizable ToolWindow
   ClientHeight    =   1944
   ClientLeft      =   48
   ClientTop       =   312
   ClientWidth     =   4740
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   Moveable        =   0   'False
   ScaleHeight     =   1944
   ScaleWidth      =   4740
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  'CenterScreen
   Begin VB.CommandButton CmdSalir 
      BackColor       =   &H00FFC0C0&
      Caption         =   "&Salir"
      BeginProperty Font 
         Name            =   "Arial"
         Size            =   6.6
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Left            =   3720
      Picture         =   "frmExcedentes.frx":0000
      Style           =   1  'Graphical
      TabIndex        =   2
      Top             =   960
      Width           =   855
   End
   Begin VB.CommandButton cmdImprimir 
      BackColor       =   &H00FFC0C0&
      Caption         =   "Imprimir"
      Height          =   615
      Left            =   2760
      MaskColor       =   &H00C0E0FF&
      Picture         =   "frmExcedentes.frx":058A
      Style           =   1  'Graphical
      TabIndex        =   1
      Top             =   960
      Width           =   855
   End
   Begin MSDataListLib.DataCombo cboPeriodo 
      Bindings        =   "frmExcedentes.frx":0894
      Height          =   288
      Left            =   240
      TabIndex        =   0
      Top             =   1200
      Width           =   2292
      _ExtentX        =   4043
      _ExtentY        =   508
      _Version        =   393216
      BackColor       =   16777215
      ListField       =   "Codigo_Periodo"
      BoundColumn     =   "Codigo_Periodo"
      Text            =   ""
      Object.DataMember      =   "venCPeriodos"
   End
   Begin VB.Line Line1 
      BorderColor     =   &H8000000D&
      X1              =   240
      X2              =   3720
      Y1              =   720
      Y2              =   720
   End
   Begin VB.Label lblperiododeventa 
      BackStyle       =   0  'Transparent
      Caption         =   "Periodo de Venta"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   7.8
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00000080&
      Height          =   252
      Left            =   240
      TabIndex        =   4
      Top             =   960
      Width           =   1572
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      BackStyle       =   0  'Transparent
      Caption         =   "Reporte de Excedentes de Gerentes de Unidades de Venta"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   7.8
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H8000000D&
      Height          =   372
      Left            =   480
      TabIndex        =   3
      Top             =   240
      Width           =   3012
   End
End
Attribute VB_Name = "frmExcedentes"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cboPeriodo_KeyDown(KeyCode As Integer, Shift As Integer)
HacerTab KeyCode
End Sub

Private Sub cmdImprimir_Click()
     
           RutaReportes = DE.rsGENCParametros.Fields("RUTA_REPORTES")
           MDI.Reporte.StoredProcParam(0) = cboPeriodo.BoundText
           Imprimir RutaReportes & "EXCENDENTESgENRENTES.rpt", "", "", "", ""
        
        
End Sub

Private Sub CmdSalir_Click()
        Unload Me
End Sub

Private Sub Form_Load()
 Left = Screen.Width / 2 - Width / 2
    Top = (Screen.Height / 2 - Height / 2) - 800
    LimpiarObjetos Me
End Sub
